package org.jeecg.modules.putstorage.vo;

import java.util.List;

import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.putstorage.entity.ZcglPutStorage;
import org.jeecg.modules.putstorage.entity.ZcglPutStorageAssets;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 物资入库表
 * @Author: jeecg-boot
 * @Date:   2022-10-17
 * @Version: V1.0
 */
@Data
@ApiModel(value="zcgl_put_storagePage对象", description="物资入库表")
public class ZcglPutStoragePage {

	/**主键*/
	@ApiModelProperty(value = "主键")
	private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private String sysOrgCode;
	/**单据编码自动生成*/
	@Excel(name = "单据编码自动生成", width = 15)
	@ApiModelProperty(value = "单据编码自动生成")
	private String orderCode;
	/**入库部门*/
	@Excel(name = "入库部门", width = 15,dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
	@ApiModelProperty(value = "入库部门")
	@Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
	private String putDepartment;
	/**入库的仓库*/
	@Excel(name = "入库部门", width = 15,dictTable = "zcgl_asset_fixed_category", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "入库部门")
	@Dict(dictTable = "zcgl_asset_fixed_category", dicText = "name", dicCode = "id")
	private String storage;
	/**制单人*/
	@Excel(name = "制单人", width = 15,dictTable = "sys_user", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "制单人")
	@Dict(dictTable = "sys_user", dicText = "name", dicCode = "id")
	private String putUser;

	@ExcelCollection(name="入库的物资明细表")
	@ApiModelProperty(value = "入库的物资明细表")
	private List<ZcglPutStorageAssets> zcglPutStorageAssetsList;

	@ApiModelProperty(value = "资产编码")
	private String assetCode;

	@ApiModelProperty(value = "流程说明")
	private String process_description;
	@ApiModelProperty(value = "流程状态")
	private String process_status;
	@ApiModelProperty(value = "流程状态说明")
	private String process_status_text;
	@ApiModelProperty(value = "单子")
	private String image;

	@ApiModelProperty(value = "审批单")
	private String imageSqspd;

}
